<#-- 计算出需要导入的import -->
<#assign primaryKeyType = columns?filter(column -> column.primary)?first.javaType>
package ${packageName}.repository.jpa;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import ${packageName}.domain.${className};
import ${packageName}.domain.${className}Repository;

@Repository
public interface ${className}JpaRepository extends JpaRepository<${className}, ${primaryKeyType}>, ${className}Repository, JpaSpecificationExecutor<${className}> {
}
